package com.engineering.elink.dao;

import java.util.Map;

import com.engineering.elink.domain.CoinRule;

public interface CoinRuleMapper {
    int deleteByPrimaryKey(Integer coinRuleId);

    int insert(CoinRule record);

    int insertSelective(CoinRule record);

    CoinRule selectByPrimaryKey(Integer coinRuleId);
    
    CoinRule selectByHessianTypeId (int hessianTypeId);
    
    Map<String,Object> selectByHessianTypeIdWithMap (int hessianTypeId);

    int updateByPrimaryKeySelective(CoinRule record);

    int updateByPrimaryKey(CoinRule record);
}